package com.tju.backend.plugin.common;

import org.tio.core.intf.Packet;

/**
 * @USER: CLS
 */
public class SPPacket extends Packet {
	private static final long serialVersionUID = -5481926483435771100L;
	//消息头的长度 4
	static final int HEADER_LENGTH = 4;
	public static final String CHARSET = "utf-8";

	private byte[] body;

	public SPPacket() {
		super();
	}

	/**
	 * @author tanyaowu
	 */
	public SPPacket(byte[] body) {
		super();
		this.body = body;
	}

	/**
	 * @return the body
	 */
	public byte[] getBody() {
		return body;
	}

	/**
	 * @param body the body to set
	 */
	public void setBody(byte[] body) {
		this.body = body;
	}

}
